package org.nmgyjt.springboot.beans.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.util.List;

@ApiModel("用户授权业务系统创建对象")
@Data
public class CyBusAuthUserAddDto {


    @ApiModelProperty(required = false, value = "被授权用户手机号码", dataType = "string")
    @NotEmpty(message = "用户phone为必填项")
    private String phone;

    private String userName;

    @ApiModelProperty(required = true, value = "当前登陆管理员的手机号", dataType = "string")
    private String authPhone;

    private String authUserName;

    @ApiModelProperty(required = true, value = "行政区划编码", dataType = "string")
    private String areaCode;

    @ApiModelProperty(required = false, value = "行政区划名称", dataType = "string")
    private String areaName;


    private String orgId;

    private String orgName;

    private String deptId;

    private String deptName;

    private String ip;

    List<CyBusAuthUserCodeDto> authUserDtos;

}
